package study.spring.secondDay;

public class BeansInherit {

	private String message1;
	private String message2;
	
	public void setMessage1(String message) {
		this.message1 = message;
	}
	
	public void setMessage2(String message) {
		this.message2 = message;
	}
	
	public void getMessage1() {
		System.out.println("(Superclass) Your Message one : " + message1);
	}
	
	public void getMessage2() {
		System.out.println("(Superclass) Your Message two : " + message2);
	}
	
	public BeansInherit() {
		// TODO Auto-generated constructor stub
	}

}
